/* 厨师工作站专用样式 */

/* 订单卡片 */
.order-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.2s;
}

.order-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.order-header {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-light);
}

.order-number {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
}

.order-status {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
}

.order-status.status-pending {
    background-color: var(--warning-color);
}

.order-status.status-paid {
    background-color: var(--primary-color);
}

.order-status.status-cooking {
    background-color: #f39c12;
}

.order-status.status-completed {
    background-color: var(--success-color);
}

.order-status.status-cancelled {
    background-color: var(--danger-color);
}

.order-items {
    padding: 15px;
}

.order-item {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-name {
    flex: 1;
    font-weight: 500;
}

.order-item-quantity {
    margin: 0 10px;
    color: #666;
}

.order-item-status {
    margin: 0 10px;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 12px;
}

.status-pending {
    background-color: #f8f9fa;
    color: #6c757d;
}

.status-cooking {
    background-color: #fff3cd;
    color: #856404;
}

.status-completed {
    background-color: #d4edda;
    color: #155724;
}

.order-item-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.order-footer {
    padding: 15px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
}

.order-time {
    color: #666;
    font-size: 14px;
}

.order-actions {
    display: flex;
    gap: 10px;
}

/* 订单板块 */
.orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

/* 统计卡片 */
.stat-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 20px;
    text-align: center;
    transition: all 0.2s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-value {
    font-size: 32px;
    font-weight: bold;
    margin: 10px 0;
}

.stat-title {
    color: #666;
    font-size: 16px;
}

.stat-pending .stat-value {
    color: var(--warning-color);
}

.stat-cooking .stat-value {
    color: #f39c12;
}

.stat-completed .stat-value {
    color: var(--success-color);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .orders-grid {
        grid-template-columns: 1fr;
    }
    
    .order-item {
        flex-wrap: wrap;
    }
    
    .order-item-name {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .order-item-actions {
        margin-top: 5px;
    }
    
    .order-footer {
        flex-direction: column;
    }
    
    .order-actions {
        margin-top: 10px;
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }
} 